package com.cj.eduservice.client.impl;

import com.cj.commonutils.R;
import com.cj.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author cj
 * @date 2023/4/9 15:07
 * @description
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("熔断器生效...删除视频出错了");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("熔断器生效...删除多个视频出错了");
    }
}
